package manage.model;

import java.util.Date;

public class Contract {
    private Integer id;

    private String name;

    private String firstParst;

    private String secondParst;

    private String notary;

    private String operatorId;

    private Date signDate;

    private Date operatDate;

    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Contract{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", firstParst='" + firstParst + '\'' +
                ", secondParst='" + secondParst + '\'' +
                ", notary='" + notary + '\'' +
                ", operatorId='" + operatorId + '\'' +
                ", signDate=" + signDate +
                ", operatDate=" + operatDate +
                ", remark='" + remark + '\'' +
                '}';
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getFirstParst() {
        return firstParst;
    }

    public void setFirstParst(String firstParst) {
        this.firstParst = firstParst == null ? null : firstParst.trim();
    }

    public String getSecondParst() {
        return secondParst;
    }

    public void setSecondParst(String secondParst) {
        this.secondParst = secondParst == null ? null : secondParst.trim();
    }

    public String getNotary() {
        return notary;
    }

    public void setNotary(String notary) {
        this.notary = notary == null ? null : notary.trim();
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId == null ? null : operatorId.trim();
    }

    public Date getSignDate() {
        return signDate;
    }

    public void setSignDate(Date signDate) {
        this.signDate = signDate;
    }

    public Date getOperatDate() {
        return operatDate;
    }

    public void setOperatDate(Date operatDate) {
        this.operatDate = operatDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}